<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">

    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>Hello world!</title>
        <link rel="stylesheet" type="text/css" href="#{resource['general:style.css']}" />
    </h:head>

    <h:body>

        <h1>Hello world!</h1>
        <h:form id="helloForm">
            <h:outputLabel value="Your name" for="name" />:&nbsp;
            <h:inputText id="name" value="#{helloWorldBean.name}" />
            <h:messages />
            <h:commandButton action="#{helloWorldController.greet}" value="Greet!" />
            <h:commandButton action="#{helloWorldController.ajaxGreet}" value="AJAX Greet!" />
        </h:form>

        <p><h:outputText value="#{helloWorldBean.output}" /></p>
    </h:body>

</html>